<?php
/**
 * Created By PhpStorm.
 * User: RenJianHong
 * Date: 2021-08-04 09:32
 */

namespace Modules\Mallsetting\Entities;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Schema;

class PostageRules extends BaseModel
{
    protected $table = "postage_rules";
    protected $guarded = [];

    /**
     * 计费方式数组值
     * @return string[]
     */
    public static function getTypeArr()
    {
        return [
            1 => "按重计费",
            2 => "按件计费",
        ];
    }

}